<?php include ("inc/check_authen/check_authen.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <link rel="stylesheet" href="admin_css/template_admin.css" type="text/css" />

<title>Admin Page</title>
</head>

<body>
<div class="container">
	<?php include("inc/layout/header/header.php");?>
    <?php include("inc/layout/navigator/navigator.php");?>
  	<div class="content">  
	  	<div id="admin_index">    
	      <h1> :: Administrator Tasks ::</h1>  
	      <table border="0" style="margin-left:50px;">
	        <tr valign="top" >
	            <td>
	            <table border="0" cellpadding="0" cellspacing="0">            	
	               <tr valign="top">
	               		<td><img src="images/template/User.png" width="60" height="64" /><div class="text_manage_list"><a href="aboutus.php" >เกี่ยวกับเรา</a></div></td>
	               		<td><img src="images/template/appdrawer2.png" width="64" height="64" /><div class="text_manage_list"><a href="mainCategories.php" >ประเภทสินค้าหลัก</a></div></td>
	                    <td><img src="images/template/Control_Panel.png" width="64" height="64"/><div class="text_manage_list"><a href="subCategories.php">ประเภทสินค้าย่อย</a></div></td>
	                    <td><img src="images/template/Shopping cart.png" width="64" height="64" /><div class="text_manage_list"><a href="products.php" style="margin-left:25px;" >สินค้า</a></div></td>                    
	               </tr>                
	               <tr valign="top">
	               		<td><img src="images/template/my_work.png" width="64" height="64"/><div class="text_manage_list"><a href="clothes.php">ตัวอย่างสีและเนื้อผ้า</a></div></td>
	               		<td><img src="images/template/pocket casts 2.png" width="64" height="64" /><div class="text_manage_list"><a href="faqs.php" style="margin-left:15px;" >ถาม - ตอบ</a></div></td>
	                    <td><img src="images/template/contacts.png" width="64" height="64"/><div class="text_manage_list"><a href="customers.php" style="margin-left:10px;" >ลูกค้าของเรา</a></div></td>
	                    <td><img src="images/template/contact_me.png" width="64" height="64" /><div class="text_manage_list"><a href="emails.php" style="margin-left:10px;" >ตั้งค่า e - mail</a></div></td>                   
	               </tr>                
	               <tr valign="top">
	               		<td><img src="images/template/lock_48.png" width="64" height="64"/><div class="text_manage_list"><a href="info.php" style="margin-left:10px;" >เปลี่ยนรหัสผ่าน</a></div></td>
	               		<td><img src="images/template/Contact.png" width="64" height="64" /><div class="text_manage_list"><a href="contacts.php"  >ลูกค้าที่ติดต่อผ่านเว็บ</a></div></td>
	                    <td>&nbsp;</td>
	                    <td>&nbsp;</td>                   
	               </tr>             
	             </table>
	            </td> <!-- end คอลัมน์แรก -->
	            <td>
	            <div class="line_shadow"></div>
            	<div class="new_contact_body">
            		<div class="new_contact_head"></div>   
                     <br />
                    
                    	<a href="contacts.php" style="font-weight:bold; float:right; margin-right:50px;"> ดูรายการติดต่อทั้งหมด </a>
                    
            		<ul>
		        		<?php include("command/rawdata/getLatestContactsActive.php");?> 
		        	</ul>
                   	
	        	</div>
			    
               
	           </td>
	        </tr> 
            <tr>
            <td> &nbsp; </td>
            	<td>
                 <div class="newupdate"></div>               	
               
		        <ul class="list_update">
			      	 <?php include("command/rawdata/getLatestProducts.php");?> 
		        </ul>              
                </td>
            </tr>
	      </table>	     
	   	</div>   
    <!--end admin_index-->
   </div>
	<!-- end .content --> 
	<?php include("inc/layout/footer/footer.php");?>
</div>
 <!-- end .container -->
</body>
</html>